package com.andy.drools.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.andy.drools.mapper.RuleConfigMapper;
import com.andy.drools.model.RuleConfig;
import com.andy.drools.model.vo.RuleVo;
import com.andy.drools.service.RuleConfigService;

@Service
public class RuleConfigServiceImpl implements RuleConfigService {

	@Autowired
	private RuleConfigMapper ruleConfigMapper;

	public List<RuleConfig> selectRuleConfigList(RuleConfig ruleConfig) {
		return ruleConfigMapper.selectRuleConfigList(ruleConfig);
	}

	public RuleConfig selectRuleConfigById(Long id) {
		return ruleConfigMapper.selectRuleConfigById(id);
	}

	public List<RuleVo> selectRuleVoList(RuleVo ruleVo) {
		return ruleConfigMapper.selectRuleVoList(ruleVo);
	}

}
